JchOptimize\Core\Html\Parser S

Total Complexity 48
Dependencies 6
Dependents 6
Total lines 312
Lines of code 193
Logical lines of code 119
Comment lines 24
Methods 22
Properties 2

Methods 22

Method Rating Maintainability Complexity Lines of code
compileCriteria()
A
51 9 28
translateAttributeCriterion()
S
51 6 24
processCriteria()
S
56 5 18
getElementMatch()
S
59 4 14
findMatches()
S
58 3 15
processCriteriaMatches()
S
59 2 14
processMatchesWithCallback()
S
61 2 13
throwExceptionOnPregError()
S
69 2 7
addExcludes()
S
74 2 5
getHtmlSearchRegex()
S
72 1 5
processNegCriteria()
S
79 1 3
htmlBodyElementToken()
S
75 1 4
processPosCriteria()
S
79 1 3
addElementObject()
S
80 1 3
removeMatches()
S
70 1 6
htmlClosingBodyTagToken()
S
69 1 6
htmlClosingHeadTagToken()
S
71 1 5
htmlHeadElementToken()
S
68 1 6
processNegContentCriteria()
S
79 1 3
processPosContentCriteria()
S
79 1 3
processContentCriteria()
S
70 1 6
__construct()
S
91 1 2